package com.company.project.model;

import lombok.Data;

import java.util.List;

/**
 * 菜单树形dto
 */
@Data
public class SysFunctionMenuDto {
    /**
     * 功能名称
     */
    private String name;
    /**
     * 功能ID
     */
    private Integer key;
    /**
     * 功能地址
     */
    private String url;
    /**
     * 功能类型
     */
    private String type;
    /**
     * 功能图标
     */
    private String icon;

    private String ext1;

    private String ext2;

    /**
     * 子列表
     */
    private List<SysFunctionMenuDto> list;

    private String children;

    @Override
    public String toString() {
        return "SysFunctionMenuDto{" +
                "name='" + name + '\'' +
                ", key='" + key + '\'' +
                ", url='" + url + '\'' +
                ", type='" + type + '\'' +
                ", icon='" + icon + '\'' +
                ", ext1='" + ext1 + '\'' +
                ", ext2='" + ext2 + '\'' +
                ", list=" + list +
                ", children='" + children + '\'' +
                '}';
    }
}